From: Lars Ingebrigtsen Date: Sat, 30 Apr 2022 11:38:04 +0000 (+0200) Subject: Make the xref--button-map more regular X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2370^2~189 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4290f64dc9948264b5d9bdad2330ee15aafe6589;p=emacs.git Make the xref--button-map more regular * lisp/progmodes/xref.el (xref--button-map): Remove the mouse-1 binding (bug#35353). --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 6fa9a5c8d69..b379448cdb6 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -965,8 +965,6 @@ beginning of the line." (defvar xref--button-map (let ((map (make-sparse-keymap))) - (when mouse-1-click-follows-link - (define-key map [mouse-1] #'xref-goto-xref)) (define-key map [follow-link] 'mouse-face) (define-key map [mouse-2] #'xref-select-and-show-xref) map))